package com.lagou.edu.dao;

import com.lagou.edu.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author 赵虎
 * @date 2021/2/22 10:52 上午
 */
public interface UserDao extends JpaRepository<User, Integer> {

    User findFirstByEmail(String email);
}
